package com.xinyi.share.weixin.message.receive;
/**
 * 文本消息
 * @author 王川
 *
 */
public class TextReceiveMessage extends ReceiveMessage{
	/**
	 * 文本内容
	 */
	private String content;
	
	public TextReceiveMessage(){
	}

	public TextReceiveMessage(String msgId, String fromUserName, String toUserName, long createTime,String content) {
		super(msgId,text,fromUserName,toUserName,createTime);
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "TextReceiveMessage [content=" + content + ", getMsgId()=" + getMsgId() + ", getMsgType()=" + getMsgType() + ", getFromUserName()=" + getFromUserName() + ", getToUserName()="
				+ getToUserName() + ", getCreateTime()=" + getCreateTime() + "]";
	}
	
}
